//
//  MarketCoinRequest.swift
//  Exchange
//
//  Created by rui on 2018/6/27.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit

class MarketCoinRequest: BaseRequest {
    var isPairAll:Bool = false
    override func path() -> String {
        if isPairAll {
            return Api.Home.coinAllPair
        }
        return Api.Home.coin
    }
    
    override func method() -> HTTPMethodType {
        return .get
    }

}
